aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/thread/[id]/+page.svelte
blob: 70397e17d266abbef33fa2fddc0c5739c82aee97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script lang="ts">
  import Event from "$comp/Event.svelte";

  let { data } = $props();
  let { thread } = $derived(data);
</script>

<div class="container px-4 max-w-xl mx-auto space-y-5">
  <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Thread</h1>

  {#each thread as event}
    <Event {event} minimal={true} />
  {/each}
</div>